/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * AddOptions.java
 *
 * Created on Jul 21, 2012, 5:39:55 PM
 */
package monitor;
import java.awt.Color;
import java.awt.Container;
/**
 *
 * @author FrostBiteX77
 */
public class AddOptions extends javax.swing.JFrame {
    private Container c;
    /** Creates new form AddOptions */
    public AddOptions() {
        initComponents();
        c = getContentPane();
        c.setBackground(Color.white);
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        BtnTutor = new javax.swing.JButton();
        BtnTutee = new javax.swing.JButton();
        BtnCancel = new javax.swing.JButton();
        jLabel1 = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("Add Options");

        BtnTutor.setBackground(new java.awt.Color(255, 255, 255));
        BtnTutor.setFont(new java.awt.Font("Modern No. 20", 0, 24));
        BtnTutor.setForeground(new java.awt.Color(0, 153, 0));
        BtnTutor.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pictures/AddTutor.png"))); // NOI18N
        BtnTutor.setText("Add Tutor");
        BtnTutor.setBorder(null);
        BtnTutor.setFocusable(false);
        BtnTutor.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        BtnTutor.setIconTextGap(16);
        BtnTutor.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BtnTutorActionPerformed(evt);
            }
        });

        BtnTutee.setBackground(new java.awt.Color(255, 255, 255));
        BtnTutee.setFont(new java.awt.Font("Modern No. 20", 0, 24));
        BtnTutee.setForeground(new java.awt.Color(0, 153, 0));
        BtnTutee.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pictures/AddTutee.png"))); // NOI18N
        BtnTutee.setText("Add Tutee");
        BtnTutee.setBorder(null);
        BtnTutee.setFocusable(false);
        BtnTutee.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        BtnTutee.setIconTextGap(16);
        BtnTutee.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BtnTuteeActionPerformed(evt);
            }
        });

        BtnCancel.setBackground(new java.awt.Color(255, 255, 255));
        BtnCancel.setFont(new java.awt.Font("Modern No. 20", 0, 24));
        BtnCancel.setForeground(new java.awt.Color(0, 153, 0));
        BtnCancel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/pictures/CancelOption2.png"))); // NOI18N
        BtnCancel.setText("Cancel");
        BtnCancel.setBorder(null);
        BtnCancel.setFocusable(false);
        BtnCancel.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        BtnCancel.setIconTextGap(16);
        BtnCancel.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BtnCancelActionPerformed(evt);
            }
        });

        jLabel1.setBackground(new java.awt.Color(255, 255, 255));
        jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel1.setText("Which would you like to add?");

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(BtnTutor, javax.swing.GroupLayout.DEFAULT_SIZE, 182, Short.MAX_VALUE)
                    .addComponent(BtnTutee, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 182, Short.MAX_VALUE)
                    .addComponent(BtnCancel, javax.swing.GroupLayout.DEFAULT_SIZE, 182, Short.MAX_VALUE)
                    .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, 182, Short.MAX_VALUE))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 20, Short.MAX_VALUE)
                .addComponent(BtnTutor)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(BtnTutee)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(BtnCancel)
                .addGap(34, 34, 34))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

private void BtnTutorActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BtnTutorActionPerformed
// TODO add your handling code here:
    AddTutor addTutor = new AddTutor();
    addTutor.setLocationRelativeTo(null);
    addTutor.setVisible(true);
    this.dispose();
}//GEN-LAST:event_BtnTutorActionPerformed

private void BtnTuteeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BtnTuteeActionPerformed
// TODO add your handling code here:
    AddTutee addTutee = new AddTutee();
    addTutee.setVisible(true);
    addTutee.setLocationRelativeTo(null);
    this.dispose();
}//GEN-LAST:event_BtnTuteeActionPerformed

private void BtnCancelActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BtnCancelActionPerformed
// TODO add your handling code here:
    this.dispose();
}//GEN-LAST:event_BtnCancelActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(AddOptions.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(AddOptions.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(AddOptions.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(AddOptions.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {

            public void run() {
                new AddOptions().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton BtnCancel;
    private javax.swing.JButton BtnTutee;
    private javax.swing.JButton BtnTutor;
    private javax.swing.JLabel jLabel1;
    // End of variables declaration//GEN-END:variables
}
